home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 9937 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  605 b 

  1. Path: newsfeed.internetmci.com!miwok!usenet
  2. From: bobg@zoger.ipost.com (Bob Glickstein)
  3. Newsgroups: comp.lang.c++
  4. Subject: Forced override?
  5. Date: 04 Mar 1996 20:30:57 -0800
  6. Organization: Interpost, Mill Valley, CA
  7. Message-ID: <m1ybpgkvpa.fsf@zoger.ipost.com>
  8. Reply-To: Bob Glickstein <bobg@ipost.com>
  9. NNTP-Posting-Host: gw.ipost.com
  10. X-Attribution: BG
  11. X-Newsreader: Gnus v5.1
  12.  
  13. Quick question: is it possible to declare a virtual member function in
  14. such a way that derived classes are *required* to override it?  This
  15. would have to work for classes both directly and indirectly derived.
  16.  
  17. Thanks in advance.
  18.